package com.example.demo.design.demo06_decorator;

/**
 * Created by 蔡超 on 2018/10/1.
 */
public class PersonDecorator extends Person {

    private Person person;

    public void setPerson(Person person) {
        this.person = person;
    }

    @Override
    public void show(){
        person.show();
    }
}
